package com.cn.yz.service.sysauthority.service;

import javax.servlet.http.HttpServletResponse;

import com.cn.yz.common.authority.AcceptToken;
import com.cn.yz.service.sysauthority.model.SysUser;

public interface LoginService {

	/**
	 * 修改密码
	 * @param sysUser
	 */
	void modPassword(SysUser sysUser);
	
	/**
	 * 登录
	 * @param loginSysUser
	 */
	void login(SysUser loginSysUser, HttpServletResponse response);
	
	/**
	 * 登出
	 * @param account
	 */
	void logout(String account);
	
	/**
	 * 根据账号修改密码
	 * @param sysUser
	 */
	void modPasswordByAccount(SysUser sysUser);
}
